package com.vast.admin.entity.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * 查询排序枚举
 */
public enum QueryOrderEnum implements IEnum<Integer> {
    ASC(1, "正序"),
    DESC(2, "倒序");

    private int type;
    private String note;

    QueryOrderEnum(int type, String note) {
        this.type = type;
        this.note = note;
    }

    @Override
    public Integer getValue() {
        return this.type;
    }
}
